package com.tm.config;

import lombok.Data;


@Data
public class AliOSSConfig {

    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;


    private AliOSSConfig(){

        endpoint = "oss-cn-zhangjiakou.aliyuncs.com";
        accessKeyId= "LTAI5tGAfCbyfRga7ui1U9Xi";
        accessKeySecret= "QQQAljx8pZJ42hinBAdK4EGWyBGsbR";
        bucketName= "zkjtest";
    }

    private static AliOSSConfig instance = new AliOSSConfig();

    public static AliOSSConfig getInstance() {
        return instance;
    }
}
